package Fanxiang;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

public class ReverseStringTest {

	@Test
	public void testReverseNormal() {
		String testWord = "cwh";
		String oriResWord = "hwc";
		String testResWord = ReverseString.reverse(testWord);
		assertEquals(oriResWord, testResWord);
	}

	@Test
	public void testReverseBlank() {
		String testWord = "";
		String oriResWord = "";
		String testResWord = ReverseString.reverse(testWord);
		assertEquals(oriResWord, testResWord);
	}

}
